<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>idaapi.Choose</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar"
        href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar"
        href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar"
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center">
            <p class="nomargin">
              http://www.d-dome.net/idapython
      </p></th></tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="idaapi-module.html">Module&nbsp;idaapi</a> ::
        Class&nbsp;Choose
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript: void(0);" class="privatelink"
    onclick="toggle_private();">hide private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="idaapi.Choose-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h2 class="class">Class Choose
<br/><span class="codelink"><a href="idaapi-pysrc.html#Choose">source&nbsp;code</a></span></h2>
Choose - class for choose() with callbacks<br /><br />

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <td colspan="2">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <th align="left" class="summary">Instance Methods</th>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#__init__" class="sig-name">__init__</a>(<span class="sig-arg">self</span>,
        <span class="sig-arg">list</span>,
        <span class="sig-arg">title</span>,
        <span class="sig-arg">flags</span>=<span class="sig-default">0</span>)</span>
    
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#sizer" class="sig-name">sizer</a>(<span class="sig-arg">self</span>)</span>
    <br />Callback: sizer - returns the length of the list
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#getl" class="sig-name">getl</a>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
    <br />Callback: getl - get one item from the list
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#ins" class="sig-name">ins</a>(<span class="sig-arg">self</span>)</span>
    
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#update" class="sig-name">update</a>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
    
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#edit" class="sig-name">edit</a>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
    
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#enter" class="sig-name">enter</a>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
    
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#destroy" class="sig-name">destroy</a>(<span class="sig-arg">self</span>)</span>
    
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#get_icon" class="sig-name">get_icon</a>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
    
  </td>
</tr>
<tr>
  <td width="15%" align="right" valign="top" class="rtype">
    &nbsp;
   </td>
  <td>
    <span class="sig"><a href="idaapi.Choose-class.html#choose" class="sig-name">choose</a>(<span class="sig-arg">self</span>)</span>
    <br />choose - Display the choose dialogue
  </td>
</tr>
</table>

<br />
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
  <td colspan="2">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <th align="left" class="details">Method Details</th>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">list</span>,
        <span class="sig-arg">title</span>,
        <span class="sig-arg">flags</span>=<span class="sig-default">0</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.__init__">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="sizer"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">sizer</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.sizer">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  Callback: sizer - returns the length of the list
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="getl"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">getl</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.getl">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  Callback: getl - get one item from the list
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="ins"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">ins</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.ins">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="update"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">update</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.update">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="edit"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">edit</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.edit">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="enter"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">enter</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.enter">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="destroy"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">destroy</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.destroy">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="get_icon"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">get_icon</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">n</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.get_icon">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<a name="choose"></a>
<div>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3><span class="sig"><span class="sig-name">choose</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="idaapi-pysrc.html#Choose.choose">source&nbsp;code</a></span>&nbsp;</span
    ></td>
  </table>
  
  choose - Display the choose dialogue
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar"
        href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar"
        href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar"
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center">
            <p class="nomargin">
              http://www.d-dome.net/idapython
      </p></th></tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">Generated by Epydoc
        3.0alpha2 on Tue Mar 27 17:02:07 2007</td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sf.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
